ááááááááááCompress
ááááááááááProperty
ááááááááááMemberáof áRSConvert.MDB

áDescriptioná
Compress method or command line to real-time compress output file.
áSyntaxá
vCompress = MDB.Compress
MDB.Compress = vCompress
áReturnsá
String
áRemarksá

Predefined values :

Zero length string - no compress
1 - pkzip, pkzip.exe -a <output> <input>
2 - arj, arj.exe a -e <output> <input>

áExamplesá
Compress outgoing file by PKZIP.EXEá
  'Create RecordSet and MDB objects
  Set ADORS = CreateObject("ADODB.Recordset")
  Set MDB = CreateObject("RSConvert.MDB")
  
  ADORS.Open "Payments", "DSN=ADOSamples"
  
  MDB.Compress = 1
  'Write zipped MDB file to the client 
  Response.BinaryWrite MDB.GetFile(ADORS)
áMethods of MDBá
AddRS, GetBinary, GetFile
áProperties of MDBá
Compress, DBFileName, Options, RowCount, TempDirectory

⌐ 1996 û 1998 PSTRUH Software, help@pstruh.cz